﻿<UserControl
	x:Class="UI.SettingsPanel.SettingsGeneralControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:properties="clr-namespace:SettingsAddIn.Properties"
    xmlns:wpf="clr-namespace:ViewOnCore.Helper.WPF;assembly=ViewOnCore">
	<StackPanel>
		<StackPanel Orientation="Horizontal" Margin="0,0,0,25">
			<Button x:Name="btnApplyNow" Margin="5,2,5,2" Style="{DynamicResource Button.TransparentWithEffect2}">
				<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
					<wpf:Icon Source="/_images/PartSettings/Apply.png" Width="18" Height="18"/>
					<TextBlock Text="{x:Static properties:Globalization.SettingsGeneralControl_ApplyNow}" Margin="5,0,5,0" VerticalAlignment="Center"/>
				</StackPanel>
			</Button>
		</StackPanel>

		<Grid HorizontalAlignment="Left">
			<Grid.RowDefinitions>
				<RowDefinition Height="25"/>
				<RowDefinition Height="25"/>
				<RowDefinition Height="25"/>
				<RowDefinition/>
			</Grid.RowDefinitions>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="200"/>
				<ColumnDefinition Width="300"/>
				<ColumnDefinition Width="*"/>
			</Grid.ColumnDefinitions>

			<TextBlock Text="{x:Static properties:Globalization.SettingsGeneralControl_Language}" VerticalAlignment="Center"/>
			<ComboBox x:Name="cboCulture" Grid.Column="1" Margin="5,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left" Width="200">
			</ComboBox>

			<TextBlock Text="{x:Static properties:Globalization.SettingsGeneralControl_MediaPath}" Grid.Row="1"  Grid.Column="0" VerticalAlignment="Center"/>
			<TextBox x:Name="txtMediaPath" Text="" Width="295" Margin="5,0,0,0" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Center" IsReadOnly="True" IsEnabled="False"/>
			<Button x:Name="btnBrowseMediaPath" Margin="5,0,0,0" Grid.Row="1" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left">
				...
			</Button>

			<TextBlock Text="{x:Static properties:Globalization.SettingsGeneralControl_Animation}" VerticalAlignment="Center" Grid.Row="2" />
			<ComboBox x:Name="cboAnimation" Grid.Row="2" Grid.Column="1" Margin="5,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left" Width="200"/>
		</Grid>

	</StackPanel>
</UserControl>
